package com.telecom.pojo.dto.admin.user;

import lombok.Data;

import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Positive;
import java.math.BigDecimal;

/**
 * 用户充值请求DTO
 */
@Data
public class UserRechargeRequestDTO {
    
    /**
     * 用户id
     */
    @NotNull(message = "用户id不能为空")
    private Long userid;
    
    /**
     * 用户余额
     */
    @NotNull(message = "用户余额不能为空")
    private BigDecimal balance;
    
    /**
     * 充值金额
     */
    @NotNull(message = "充值金额不能为空")
    @Positive(message = "充值金额必须为正数")
    private BigDecimal amount;
}